home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
programming
/
aros
/
filesys
/
makefile
< prev
next >
Wrap
Makefile
|
1996-09-13
|
469b
|
27 lines
TOP=..
include $(TOP)/make.cfg
OBJDIR=$(GENDIR)/filesys
all: setup $(OBJDIR)/emul_handler.o
setup:
@if [ ! -d $(OBJDIR) ]; then $(MKDIR) $(OBJDIR) ; fi
clean:
$(RM) $(OBJDIR)
$(OBJDIR)/%.o: %.c
$(CC) $(CFLAGS) $< -c -o $@ 2>&1|tee $*.err
if test ! -s $*.err; then rm $*.err; fi
$(OBJDIR)/%.d: %.c
@if [ ! -d $(OBJDIR) ]; then $(MKDIR) $(OBJDIR) ; fi
@$(RM) $@
@touch $@
$(MKDEPEND) -f$@ -p$(OBJDIR)/ -- $(CFLAGS) -- $^
include $(OBJDIR)/emul_handler.d